package com.assistant.utils;

public class CommonDefault {
    public static boolean isWin=true;

    public static String getPlatformSeparator(){
        if(isWin){
            return "\\";
        }else{
            return "/";
        }
    }
    public static String getPlatformBASeparator(String name) {
        return getPlatformSeparator() + name + getPlatformSeparator();
    }
    public static void setIsWin(boolean isWin){
        CommonDefault.isWin=isWin;
    }
}
